using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;
namespace MRSite.Entity
{
    [Table(Name = "customer_group_price")]
    public class CustomerGroupPrice : Entity
    {
        /// <summary>
        ///自增ID
        /// </summary>
        [Column(Name = "id", IsPrimaryKey = true, CanBeNull = false, IsVersion = true)]
        public override int id { get; set; }

        /// <summary>
        ///商品ID
        /// </summary>
        [Column(Name = "product_id")]
        public int product_id { get; set; }

        /// <summary>
        ///会员组ID
        /// </summary>
        [Column(Name = "group_id")]
        public int group_id { get; set; }

        /// <summary>
        ///价格
        /// </summary>
        [Column(Name = "price")]
        public Decimal price { get; set; }

    }
}


